package com.ruoyi.system.domain;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医院对象 mr_hospital
 *
 * @author ruoyi
 * @date 2022-11-18
 */
@Setter
@Getter
public class MrHospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医院id */
    private Long hosId;

    /** 区域ID */
    private Long areaId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hosName;

    /** 医院地址 */
    @Excel(name = "医院地址")
    private String address;

    /** 医院状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private Long comId;

    @Excel(name = "所属区域")
    private String areaName;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hosId", getHosId())
            .append("areaId", getAreaId())
            .append("hosName", getHosName())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
